package com.leji.song.extra;

import android.app.Application;
import com.baidu.mapapi.SDKInitializer;
import com.dgl.sdk.util.DBStore;
import com.dgl.sdk.util.SharePreStore;
import com.dgl.sdk.view.LoadImage;
import com.leji.song.util.ConstAns;

/**
 * Created by Administrator on 14-6-12.
 */
public class MyApplication extends Application {

    public static boolean isDebug = true;
    public static boolean isDebugForSimlate = true;


    public static boolean isLogin = false;

    @Override
    public void onCreate() {
        super.onCreate();

        LoadImage.init(this);
        SharePreStore.init(this);
        DBStore.init(this, ConstAns.DB_NAME);

        if(!isDebugForSimlate){
            //baidu map
            SDKInitializer.initialize(this);
        }


    }
}
